﻿@model Exception

@if (Model != null)
{
<h2>An exception has occurred.</h2>
    <h3>Message</h3>
    <p>@Model.Message</p>
    <h3>Source</h3>
    <p>@Model.Message</p>
    <h3>Stack Trace</h3>
    <p>@Model.Message</p>
    <h3>Target Site</h3>
    <p>@Model.Message</p>
    
    if (Model.InnerException != null)
    {
        Html.RenderPartial("_ExceptionPartial", Model.InnerException);
    }
}